home *** CD-ROM | disk | FTP | other *** search
- Path: locutus.rchland.ibm.com!usenet
- From: pstaite@vnet.ibm.com
- Newsgroups: comp.lang.c++
- Subject: Re: help finding ranges of types
- Date: 29 Jan 1996 19:44:05 GMT
- Organization: IBM OS/2 Device Driver Development Rochester, MN
- Message-ID: <4ej825$ogi@locutus.rchland.ibm.com>
- References: <4eiud1$r0u@geraldo.cc.utexas.edu>
- Reply-To: pstaite@vnet.ibm.com
- NNTP-Posting-Host: warpone.rchland.ibm.com
- X-Newsreader: IBM NewsReader/2 v1.2
-
- In <4eiud1$r0u@geraldo.cc.utexas.edu>, trakas@mail.utexas.edu (Travis Kaspar) writes:
- >I have to determine the ranges (ie allowable values) for all
- >the basic types, without using sizeof(type). I know I could increment
-
- Try looking in limits.h -- should have definitions for the limits,
- ranges, etc. for all the intrinsic types. Besides, sizeof(float) will
- probably only tell you 4, same as sizeof(long) (probably) -- yet their
- characteristics are very different. ;-)
-
-
- Phil Staite, team OS/2
- internet: pstaite@vnet.ibm.com internal: pstaite@rchland
-
-